﻿using Design.Common.Utils;

namespace AbstractFactoryPatten.Product.Phone
{
    internal abstract class BasePhoneProduct
    {
        public string Name { get; set; }

        public void CreateGlass()
        {
            ConsoleExpansion.WriteLine($"{this.Name} create glass");
        }

        public void CreateCamera()
        {
            ConsoleExpansion.WriteLine($"{this.Name} create camera");
        }

        public void CreateComplete()
        {
            ConsoleExpansion.WriteLine($"{this.Name} create success");
        }

        public abstract void Prepare();
    }
}